<div class="row">
  <div class="large-3 columns">&nbsp;</div>
  <div class="large-6 columns login-box">
	<div>
		<div class="alert center">
			<p><?php echo $this->school_name !== '' ? $this->school_name : '';?></p>
			<h3>Backend System Administrator</h3>
		</div>
		
		<form action="<?=site_url('bea');?>" method="POST" autocomplete="off">
		<div class="row collapse" >
			<div class="small-3 large-2 columns">
			  <span class="prefix">username</span>
			</div>
			<div class="small-9 large-10 columns">
			  <input type="text"  autocomplete="off" value="<?=set_value('username');?>" name="username" class="ui-corner-all" style="border:#ccc 2px solid;" maxlength="20" required>
			</div>
		</div>
		<div class="row collapse">
			<div class="small-3 large-2 columns">
			  <span class="prefix">Password</span>
			</div>
			<div class="small-9 large-10 columns">
			  <input type="password" autocomplete="off" name="password" class="ui-corner-all" style="border:#ccc 2px solid;" maxlength="20" required>
			</div>
		</div>
		<div class="row collapse">
			<div class="small-3 large-2 columns">
			  <span class="prefix">Captcha</span>
			</div>
			<div class="small-3 large-5 columns">
			  <input type="text" autocomplete="off" name="captcha_text" class="ui-corner-all" style="border:#ccc 2px solid;" maxlength="5" required>
			</div>
			<div class="small-3 large-5 columns"><?=$captcha_image;?></div>
			 
		</div>
		
		<div class="row collapse">
			<div class="small-3 large-2 columns">
			</div>
			<div class="small-9 large-10 columns">
			 <input type="hidden" name="form_input_token" value="<?=$form_token;?>">
					<input type="submit" value="Login" name="backstage_login" class="btn btn-primary">
					<a href="<?php echo site_url('welcome');?>" class="data-link">Back to Home</a>
			</div>
		</div>
		</form>
		<?=$system_message;?>
		<?php if(validation_errors() !== '') echo '<div class="alert alertbox">'.validation_errors().'</div>';?>
	</div>
  </div>
  <div class="large-3 columns">&nbsp;</div>
</div>
